package com.kotei.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kotei.pojo.FarmhouseAttachment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface FarmhouseAttachmentMapper extends BaseMapper<FarmhouseAttachment> {
    @Select("select id,info_id,file_explain,relative_address_path,file_size from farmhouse_attachment_cj where file_explain = 'https://bigsatellite-datasync.obs.cn-north-4.myhuaweicloud.com:443/'")
    List<FarmhouseAttachment> getAllList(@Param("startLine") Long startLine,@Param("count") Long count);
}